package com.opal.model;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.opal.domain.ReturnMessageData;

@JsonInclude(Include.NON_NULL)
public class DataGridData<T> extends ReturnMessageData {
	private String pkSignh;
	private int total;
	private T rows;
	private int page;

	public DataGridData() {
		super();
	}
	public DataGridData(int statu, String message, List<Object> list) {
		super(statu, message, list);
	}
	public DataGridData(int statu, String message, Object data) {
		super(statu, message, data);
	}
	public DataGridData(int statu, String message) {
		super(statu, message);
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public T getRows() {
		return rows;
	}

	public void setRows(T rows) {
		this.rows = rows;
	}

	public String getPkSignh() {
		return pkSignh;
	}
	public void setPkSignh(String pkSignh) {
		this.pkSignh = pkSignh;
	}

}
